package com.alan.builder;

import java.util.Date;

/**
 * Created by Alan on 2018/8/22.
 *
 * 构建者模型
 */
public abstract class ReservationBuilder {

    private String name;

    public ReservationBuilder setName(String name) {
        this.name = name;
        return this;
    }

    public String getName() {
        return name;
    }

    public abstract Reservation build();
}
